package com.sq.partner.manager.service.impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sq.partner.manager.dao.TradEmailTemplateDao;
import com.sq.partner.manager.mybatis.model.TradEmailTemplate;
import com.sq.partner.manager.service.TradEmailTemplateService;
@Service
public class TradEmailTemplateServiceImpl implements TradEmailTemplateService {
	@Resource
	TradEmailTemplateDao tradEmailTemplateDao;
	@Override
	public List<TradEmailTemplate> queryEmailTemplate() throws Exception {
		return tradEmailTemplateDao.queryEmailTemplate();
	}
	@Override
	public List<TradEmailTemplate> queryList() throws Exception {
		return tradEmailTemplateDao.queryTemplateList();
	}
}
